import http from '@/utils/http'

export const uploadImg = (data) => {
  return http({
    url: '/admin/api/image/upload',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data',
    },
    data
  });
}

export const uploadReportImg = (data) => {
  return http({
    url: '/order/api/upload/rImage',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data',
    },
    data
  });
}